package funcation;

public class Demo04 {
  public static void main(String args[]){
       printA(5,4);
  }
   
   public static void printA(int row,int col){
    	  for(int i=0;i<row;i++){
    		  for(int j=0;j<col;j++){
    			  System.out.print("*");
    		  }
    		  System.out.println();
    	  }
    }
   
   
   
    /*
    public static void printB(){
    	for(int k=0;k<5;k++){
  		  for(int p=0;p<3;p++){
  			  System.out.print("*");
  		  }
  		  System.out.println();
  	  }
    }
    */
  
  
  
}
